package com.laowang.framework.task;

import com.laowang.common.utils.DateUtil;
import com.laowang.common.utils.DateUtils;
import com.laowang.common.utils.LotteryUtil;
import com.laowang.common.utils.StringUtils;
import com.laowang.common.utils.http.HttpUtilsMy;
import com.laowang.project.system.domain.*;
import com.laowang.project.system.service.*;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.nodes.Node;
import org.jsoup.select.Elements;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.io.IOException;
import java.math.BigDecimal;
import java.net.URL;
import java.text.SimpleDateFormat;
import java.util.*;

/**
 * 定时任务调度测试
 *
 * @author laowang
 */
@Component("ryTask")
public class RyTask {



    private static List<String> list = Arrays.asList("3d","pl3","pl5");

    public void ryMultipleParams(String s, Boolean b, Long l, Double d, Integer i) {
        System.out.println(StringUtils.format("执行多参方法： 字符串类型{},布尔类型{},长整型{},浮点型{},整形{}", s, b, l, d, i));
    }


    public void ryParams(String params) {
        System.out.println("执行有参方法：" + params);
    }





}
